GET
/
tariff-properties
/
{id}
/
[beta] Get detailed information on a tariff property
curl --request GET \
  --url https://sandbox.prezio.eu/api/tariff-properties/{id}/ \
  --header 'Authorization: <api-key>'
{
  "id": "pro_7",
  "key": "fuse_level",
  "name": "Fuse level",
  "data_type": "CHOICE",
  "group_key": "consumer_setup",
  "group_name": "Consumer setup",
  "question": "What is your fuse level?",
  "description": "",
  "choices": [
    {
      "id": "prv_67",
      "name": "10 kW",
      "value": "10_kw"
    },
    {
      "id": "prv_16",
      "name": "100 A",
      "value": "100"
    }
  ]
}

Authorizations

Authorization
string
header
required

Token-based authentication with required prefix "Token"

Path Parameters

id
string
required

Property ID (incl. prefix "pro_") or property key (e.g. "fuse_level")

Query Parameters

consumer_type
enum<string>

Consumer type (RESIDENTIAL or BUSINESS) to filter local variants applicable to that consumer type

Available options:
BUSINESS,
RESIDENTIAL
country
enum<string>
required

Country code to filter local variants by country + global variants

Available options:
AT,
DE,
DK,
ES,
GB,
NO,
SE
tariff_id
string

Tariff ID (incl. prefix "tar_") to filter values used on a specific tariff

Response

OK

Base serializer with field definitions, schema documentation, and method implementations.

id
string
required

ID of the tariff property

Example:

"pro_123"

key
string
required

Key of the tariff property

Example:

"fuse_level"

name
string
required

Display name of the tariff property

Example:

"Fuse level"

data_type
enum<string>
required
  • BOOLEAN - Boolean
  • CHOICE - Choice
  • DECIMAL - Decimal
  • DATE - Date
  • TEXT - Text
Available options:
BOOLEAN,
CHOICE,
DECIMAL,
DATE,
TEXT
group_key
string
required

Key of the property group

Example:

"consumer_setup"

group_name
string
required

Display name of the property group

Example:

"Consumer setup"

question
string
required

English question of the tariff property

Example:

"What is your fuse level?"

description
string
required

Description of the tariff property

Example:

"Level/band of the fuse subscribed by the consumer"

choices
object[]
required